package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Getter
@Setter
public class RecruitmenPlan {
    private Long id;

    private SystemDictionaryBill planType;

    private String planName;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date planTime;

    private Employee planPerson;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date auditTime;

    private Employee auditPerson;

    private String suditExplain;

    private Integer state;

    private List<RecruitmenPlanBill> bills = new ArrayList<>();
}